Cardiac output measurement at random to respiration